package com.jacen.fzxs.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.jacen.fzxs.entity.UserEntity;

public interface IUserDao extends IBaseDao<UserEntity> {
	
	public int getCount(Map<String, ? extends Object> paramMap) throws SQLException;
	public int getCount() throws SQLException;

	public List<UserEntity> getList(Map<String, String> params);

	public UserEntity login(String username, String password);

	public List<UserEntity> getPage(int page, int pageSize, Map<String, String> params);
	public List<UserEntity> getPage(int page, int pageSize);
	
	public List<UserEntity> getListByRoleId(String roleId) throws Exception;


}
